package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("t_file_reissue_detail")
@ApiModel(value = "FileReissueDetail", description = "文件补发申请单明细")
public class FileReissueDetail {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("补发申请单ID")
    private Long reissueId;

    @ApiModelProperty("文件编号")
    private String fileNumber;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("版本")
    private String version;

    @ApiModelProperty("数量")
    private Integer quantity;

    @ApiModelProperty("用途说明")
    private String purpose;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;
}